home *** CD-ROM | disk | FTP | other *** search
/ Practical Web Pages 2004 September / PracticalWebPages-WPG13-09-2004-Coverdisc.iso / pc / Software / Toolkit / Sothink SWF Quicker 1.5 / data1.cab / Public_Files / Classes / Number.as < prev    next >
Encoding:
Text File  |  2004-06-14  |  1.3 KB  |  13 lines

  1. class Number
  2. {
  3.     var MAX_VALUE                                                        // It is the largest representable number (double-precision IEEE-754). This number is approximately 1.79E+308.
  4.     var MIN_VALUE                                                        // It is the smallest representable number (double-precision IEEE-754). This number is approximately 5e-324.
  5.     var NaN                                                              // The IEEE-754 value representing Not A Number (NaN).
  6.     var NEGATIVE_INFINITY                                                // It specifies the IEEE-754 value representing negative infinity. The value of this property is the same as that of the constant -Infinity.
  7.     var POSITIVE_INFINITY                                                // It specifies the IEEE-754 value representing positive infinity. The value of this property is the same as that of the constant Infinity.
  8.  
  9.     function Number(value)                                               // Constructor.
  10.     function toString(radix)                                             // It returns the string representation of the specified Number object. 
  11.     function valueOf()                                                   // It returns the primitive value type of the specified Number object.
  12. }
  13.